package hoodoos.rule.script.python;

import py4j.GatewayServer;

public class StackEntryPoint {
  private Stack stack;

  public StackEntryPoint() {
    stack = new Stack();
    stack.push("Initial Item");
  }

  public Stack getStack() {
    return stack;
  }

  public static void main(String[] args) {
    StackEntryPoint stackEntryPoint = new StackEntryPoint();
    GatewayServer gatewayServer = new GatewayServer(stackEntryPoint, 12345);
    gatewayServer.start();
    System.out.println("Gateway Server Started");
  }
}
